﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CMSModel
{
    /// <summary>
    /// 广告表
    /// </summary>
    public class Advertisement
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 图片路径
        /// </summary>
        public string Pic { get; set; }
        /// <summary>
        /// 广告位置
        /// </summary>
        public int Location { get; set; }
        /// <summary>
        /// 链接地址
        /// </summary>
        public string URL { get; set; }
        /// <summary>
        /// 显示文字
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime Pdate { get; set; }
        /// <summary>
        /// 是否可用
        /// </summary>
        public int CouldUse { get; set; }

        public Advertisement()
        {
            this.Id = int.MinValue;
            this.Location = int.MinValue;
            this.CouldUse = int.MinValue;
        }
    }
}
